<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thyemleaf.org">
<head>

    <meta charset="UTF-8">

    <!--BootStrap设计的页面支持响应式的 -->

    <meta name="viewport" content="width=device-width, initial-scale=1">

    <!-- 引入主题  -->

    <link href="/bootstrap-3.3.7/css/bootstrap-theme.min.css" rel="stylesheet" />

    <!-- 引入bootstrap的css -->

    <link href="/bootstrap-3.3.7/css/bootstrap.min.css" rel="stylesheet" />

    <!-- 引入jquery的js  因为bootstrap使用到jquery的js -->

    <script src="/js/jquery-3.3.1.min.js"></script>

    <!-- 引入bootsrap的js -->

    <script src="/bootstrap-3.3.7/js/bootstrap.min.js"></script>

    <!--    进度条-->
    <link rel="stylesheet" href="/blue/pace-theme-corner-indicator.css">
    <script src="/js/pace.js"></script>

    <title>商品详情</title>
    <style>
        .xiaotaoobject {
            height: 140px;
            width: 140px;
            object-fit: contain;
        }
        .samesize{
            height: 320px ;
            width: 100%;
            object-fit: cover;
            text-align: center;
        }
        .samesizesmall{
            height: 250px;
           max-width: 100% ;
            object-fit: cover;
            text-align: center;
        }
        body{
            background-image: url("images/背景.jpg");
        }
    </style>

</head>
<body >
<div class="container">
    <div class="row clearfix">
        <div class="col-md-6 column">
            <div class="row clearfix">
                <div class="col-md-6 column">
                    <img alt="小淘图标" class="xiaotaoobject"  src="images/order_a.jpg" />
                </div>
                <div class="col-md-6 column">
                    <div class="page-header">
                        <h1>
                            小淘商城<p><small>2020最新潮流</small></p>
                        </h1>
                    </div>
                </div>
            </div>
        </div>
        <div class="col-md-6 column">
            <ul class="breadcrumb">
                <li>
                    <a href="#">首页</a>
                </li>
                <li class="active">
                   收藏夹
                </li>
            </ul>
            <blockquote>
                <p >
                    <span class="glyphicon glyphicon-bell">
                    反正把宝贝放到收藏夹里又不用花钱
                    </span>
                </p> <small> <cite>小淘寄语</cite></small>
            </blockquote>
        </div>
    </div>
    <div class="row clearfix">
        <div class="col-md-12 column">
            <div class="row">
                <div th:each="good:${goods}">
                  <div class="col-md-4">
                    <div class="samesize thumbnail" >
                        <div class="samesize">
                            <img alt="300x200" class="samesizesmall" src="images/1.jpg"
                                 th:src="@{'/Image/'+${good.goodImage}}" />
                            <div class="caption">
                                <p>
                                    <a class="btn btn-primary" href="#"
                                    th:href="@{'/item/'+${good.id}}">查看详情</a>
                                </p>
                            </div>
                        </div>
                    </div>
                </div>
                </div>
            </div>
        </div>
    </div>
</div>


</body>
</html>